package com.zj.guava.eventbus.requestAndResponse;

import com.google.common.eventbus.EventBus;

public class EventResponse<T> implements Response<T> {
    EventBus bus;
    T t;

    public EventResponse(T t) {
        this.t = t;
    }

    @Override
    public T getResponse() {
        return t;
    }

    public EventBus getBus() {
        return bus;
    }

    public void setBus(EventBus bus) {
        this.bus = bus;
    }

}
